﻿using ConfExpert.Forms.Base;
using DevTeam;

using System;
namespace ConfExpert.Forms.Depo
{
    public partial class Etiketlenmeyen : XForm
    {
        public Etiketlenmeyen()
        {
            InitializeComponent();
        }

        private void Etiketlenmeyen_Load(object sender, EventArgs e)
        {
            
            
            splitContainerControl1.AutoSize();
            gridView1.Init("GetYuklemeDurumu");
            gridView1.AddDetailGrid(gridView2, "YuklemeId");
            gridView1.AddSummary("ToplamAdet", "EtiketlenmemisAdet");
            gridView2.AddSummary("Qty");
            gridView1.FormatAsNumber(0, "ToplamAdet", "EtiketlenmemisAdet");
            gridView2.FormatAsNumber(1, "Qty");
            gridView1.FormatAsDate("ETA");

            gridView2.MakeColumnInvisible("YuklemeId");
            gridView1.BestFitColumns();
            gridView2.BestFitColumns();
        }
    }
}
